package com.zfk.transaction.util;

import java.util.Random;

/**
 * 邮箱发送邮件
 */
public class EmailUtil {


    //生成6位随机数字
    public static String generateCheckCode(){
        Random random=new Random(System.currentTimeMillis());
        String checkCode= String.valueOf((int) (random.nextDouble() * (1000000 - 100000 + 1) + 100000));
        return checkCode;
    }
}
